package com.siwei.infoextract;

import java.io.IOException;
import java.util.Properties;

public class SystemConfig {
	private static Properties props = new Properties();

	static {
		try {
			props.load(SystemConfig.class.getResourceAsStream("/systemconfig.properties"));
		} catch (IOException ioe) {
			ioe.printStackTrace();
		}
	}

	public static String getValue(String key) {
		return props.getProperty(key);
	}

	public static final String DEFAULT_ENCODING_KEY = "default.encoding";

}

